from django.conf.urls.defaults import *

from views import *


urlpatterns = patterns('',
    (r'^thankyou/', thankyou),
    (r'^compose-mail/(?P<communication>.*)/(?P<restart>.*)', compose_mail),
	(r'^select-communication/', select_communication),
    (r'^contact-admin/', contactview, {'to_mail': getattr(settings, "EMAIL_CONTACT", settings.DEFAULT_FROM_EMAIL)}),
    (r'^contact/', contactview, {'to_mail': None}),
    #url(r'^media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': os.path.dirname(__file__)+'media/',}),
)
